import {IService} from "../core/IService";
import {ICommand} from "../core/ICommand";
import type {AxiosRequestConfig} from "axios";

export class BaseService implements IService {

    _cmd:ICommand;

    constructor(cmd:ICommand) {
        this._cmd = cmd;
    }

    get cmd(): ICommand {
        return this._cmd;
    }

    send(options: AxiosRequestConfig):void {
        throw new Error('xxx');
    }

}